import Vue from 'vue'
import {
  Button,
  Tabs,
  Card,
  Form,
  FormItem,
  Input,
  TabPane,
  Message,
  Menu,
  MenuItem,
  MenuItemGroup,
  Submenu,
  Empty,
  Divider,
  Breadcrumb,
  BreadcrumbItem,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  Tag,
  Notification,
  Drawer,
  MessageBox,
  PageHeader,
  Table,
  TableColumn,
  Pagination,
  DatePicker,
  Select,
  Option,
  Checkbox,
  RadioButton,
  RadioGroup,
  Loading,
  Dialog,
  Tree,
  Avatar,
  Radio,
  Rate,
  Upload,
  Cascader,
  Descriptions,
  DescriptionsItem,
  Link,
  InputNumber, Collapse, CollapseItem, Steps, Step, Row, Switch, Statistic, Col, Calendar, Popover, Tooltip
} from 'element-ui'

Vue.use(Button)
  .use(Card)
  .use(Form)
  .use(Input)
  .use(TabPane)
  .use(Tabs)
  .use(FormItem)
  .use(Menu)
  .use(MenuItem)
  .use(MenuItemGroup)
  .use(Submenu)
  .use(Empty)
  .use(Divider)
  .use(Breadcrumb)
  .use(BreadcrumbItem)
  .use(Dropdown)
  .use(DropdownMenu)
  .use(DropdownItem)
  .use(Tag)
  .use(Drawer)
  .use(PageHeader)
  .use(DatePicker)
  .use(Table)
  .use(TableColumn)
  .use(Pagination)
  .use(Select)
  .use(Option)
  .use(Checkbox)
  .use(RadioButton)
  .use(RadioGroup)
  .use(Loading)
  .use(Dialog)
  .use(Checkbox)
  .use(Tree)
  .use(Avatar)
  .use(Radio)
  .use(Rate)
  .use(Upload)
  .use(Cascader).use(Descriptions).use(DescriptionsItem).use(Link).use(InputNumber).use(Collapse).use(CollapseItem).use(Steps).use(Step).use(Row).use(Loading).use(Switch).use(Statistic)
  .use(Col).use(Calendar).use(Popover).use(Tooltip)
Vue.prototype.$message = Message
Vue.prototype.$notify = Notification
Vue.prototype.$prompt=MessageBox.prompt
Vue.prototype.$confirm = MessageBox.confirm
